package com.easyaop.test.core.listener;

import com.easyaop.api.order.Order;
import com.easyaop.api.event.BeforeEvent;
import com.easyaop.api.event.ReturnEvent;
import com.easyaop.api.event.listener.AbstractMethodListener;

@Order(Integer.MAX_VALUE)
public class MyMethodListener2 extends AbstractMethodListener {
    @Override
    public void before(BeforeEvent event) {
        System.out.println("2 aop before 。。" + event.getSignature());
//        event.skipOriginMethod(null);
//        event.set
        // event.getMethod();
    }

    @Override
    public void afterReturn(ReturnEvent event) {
        System.out.println("2 aop afterReturn 。。" + event.getSignature());


    }
}
